package service.edu.entity.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.math.BigDecimal;

@Data
@ApiModel(value="课程信息", description="网站课程详情页需要的相关字段")
public class IndexCourseAll {

    @ApiModelProperty(value = "课程id")
    private String id;

    @ApiModelProperty(value = "课程标题")
    private String title;

    @ApiModelProperty(value = "课程销售价格，设置为0则可免费观看")
    private BigDecimal price;

    @ApiModelProperty(value = "总课时")
    private Integer lessonNum;

    @ApiModelProperty(value = "课程封面图片路径")
    private String cover;

    @ApiModelProperty(value = "销售数量")
    private Long buyCount;

    @ApiModelProperty(value = "浏览数量")
    private Long viewCount;

    @ApiModelProperty(value = "课程简介")
    private String description;

    @ApiModelProperty(value = "舰娘ID")
    private String teacherId;

    @ApiModelProperty(value = "舰娘姓名")
    private String teacherName;

    @ApiModelProperty(value = "舰娘简介")
    private String intro;

    @ApiModelProperty(value = "舰娘头像")
    private String avatar;

    @ApiModelProperty(value = "课程一级类别ID")
    private String firstSubjectId;

    @ApiModelProperty(value = "类别一级名称")
    private String firstSubjectLevel;

    @ApiModelProperty(value = "课程二级类别ID")
    private String secondSubjectId;

    @ApiModelProperty(value = "类别二级名称")
    private String secondSubjectLevel;
}

